//
//  CCFourmPicturePushTableViewCell.m
//  CwinCar
//
//  Created by dlios on 15/10/26.
//  Copyright © 2015年 dlios. All rights reserved.
//

#import "CCFourmPicturePushTableViewCell.h"

@implementation CCFourmPicturePushTableViewCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if ([super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
       
        self.nameLable = [[UILabel alloc]initWithFrame:CGRectMake(60 * suitableScreen_Width, 10 *suitableScreen_Height, 160 *suitableScreen_Width, 30 * suitableScreen_Height)];
        self.nameLable.font = [UIFont systemFontOfSize:16];
        [self.contentView addSubview:self.nameLable];
        
        self.line =[[UILabel alloc]initWithFrame:CGRectMake(10 * suitableScreen_Width, 59 * suitableScreen_Height, mainScreen_Width, 1)];
        self.line.backgroundColor = [UIColor colorWithWhite:0.859 alpha:1.000];
        [self.contentView addSubview:self.line];
        
    }
    return self;
}
- (void)setDataModel:(CCForumPictureModel *)forumPushModel
{
    [self.nameLable setText:forumPushModel.forumName];
    
}
@end
